package com.xuanyuan.mapper;

import com.xuanyuan.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface DeptMapper {
    Dept selectDeptByName(String deptName);

    Dept selectDeptById(String id);

    List<Dept> selectDeptList(Dept dept);

    Integer insertDept(Dept dept);

    Integer updateDept(Dept dept);

    Integer deleteDeptByIds(String[] ids);
}

